import http from "@/api/index.js";

//  首页分类
export const getCategoryIndexShow = (data) => {
    return http.post("/api/web/pub/getCategoryIndexShow", data)
};
export const getBannerList = (data) => {
    return http.post("/api/web/pub/getBannerList", data)
};
export const getBannerIndexNotice = (data) => {
    return http.post("/api/web/pub/getIndexNotice", data)
};
export const getHomeAds = (data) => {
    return http.post("/api/web/pub/getAd", data)
};
export const getGoodsList = (data) => {
    return http.post("/api/web/pub/getGoodsList", data)
};
export const getCategory = (data) => {
    return http.post("/api/web/pub/getCategory", data)
};

